package com.xiaomazi.oss.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: llxy-parent
 * @description: OSS实体类配置
 * @author: 小马子
 * @create: 2023-02-14 14:57
 **/
@ConfigurationProperties(prefix = "aliyun.oss.file")
@Component
@Data
public class OSSEntityConfiguration {
    private String endpoint;
    private String keyId;
    private String keySecret;
    private String bucketName;
}
